import 'package:flutter/material.dart';
import 'demo/ListViewDemo.dart';

void main() {
  runApp(new MApp());
}

class MApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: new HomeList(),
      theme: ThemeData(
          primarySwatch: Colors.yellow
      ),
    );
  }

}

class HomeList extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
        backgroundColor: Colors.grey[100],
        appBar: AppBar(
          title: Text('xx'),
          centerTitle: true,
          elevation: 30,
        ),
//      body: new Hello(),
        body: ListViewDemo());
  }
}
